9.1
CRITICAL CVSS 3.1
CVE-2024-45436
Ollama ZIP Archive Directory Traversal Vulnerability
Description

extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.

INFO

Published Date :

Aug. 29, 2024, 3:15 a.m.

Last Modified :

Aug. 30, 2024, 4:08 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-45436 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ollama ollama
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 CRITICAL 134c704f-9b21-4f2e-91b3-4a467353bcc0
Public PoC/Exploit Available at Github

CVE-2024-45436 has a 11 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-45436.

URL Resource
https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 Patch
https://github.com/ollama/ollama/pull/5314 Patch
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-45436 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 7 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 11, 2025, 8:10 p.m. This repo has been linked 4 different CVEs too.

None

Updated: 7 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : Aug. 7, 2025, 2:03 a.m. This repo has been linked 2 different CVEs too.

exploit script for CVE-2024-45436

Python

Updated: 10 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : April 17, 2025, 5:46 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year ago
0 stars 0 fork 0 watcher
Born at : March 10, 2025, 3:30 a.m. This repo has been linked 7 different CVEs too.

None

HTML Python Shell

Updated: 8 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 891 different CVEs too.

精选的掘金文章汇总[2024.11月-12月]

backend frontend java juejin nodejs supabase vuejs

Updated: 6 months, 1 week ago
6 stars 0 fork 0 watcher
Born at : Dec. 13, 2024, 7:22 a.m. This repo has been linked 13 different CVEs too.

This repository contains an exploit demonstration for CVE-2024-45436, a critical vulnerability affecting specific software versions. It highlights the exploitation mechanism and provides insights for security researchers to understand and mitigate the risk.

cve exp ollama poc

Python

Updated: 8 months, 3 weeks ago
7 stars 0 fork 0 watcher
Born at : Nov. 21, 2024, 9:03 a.m. This repo has been linked 1 different CVEs too.

CVE-2024-45436

Go

Updated: 8 months, 3 weeks ago
5 stars 0 fork 0 watcher
Born at : Oct. 21, 2024, 5:44 a.m. This repo has been linked 2 different CVEs too.

这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目

HTML

Updated: 4 days, 19 hours ago
8 stars 1 fork 1 watcher
Born at : Sept. 20, 2024, 3:27 a.m. This repo has been linked 273 different CVEs too.

一个 CVE 漏洞预警知识库,无 exp/poc,部分包含修复方案。A knowledge base of CVE security vulnerability, no PoCs/exploits.

Updated: 2 days, 15 hours ago
161 stars 23 fork 23 watcher
Born at : Jan. 5, 2023, 2:19 a.m. This repo has been linked 232 different CVEs too.

一个漏洞 PoC 知识库。A knowledge base for vulnerability PoCs(Proof of Concept), with 1k+ vulnerabilities.

poc

Dockerfile Java Python

Updated: 14 hours, 43 minutes ago
4858 stars 962 fork 962 watcher
Born at : Feb. 20, 2022, 6:43 a.m. This repo has been linked 477 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-45436 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-45436 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 30, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 No Types Assigned https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 Patch
    Changed Reference Type https://github.com/ollama/ollama/pull/5314 No Types Assigned https://github.com/ollama/ollama/pull/5314 Patch
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* versions up to (excluding) 0.1.47
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 29, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-22
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • CVE Received by [email protected]

    Aug. 29, 2024

    Action Type Old Value New Value
    Added Description extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
    Added Reference MITRE https://github.com/ollama/ollama/pull/5314 [No types assigned]
    Added Reference MITRE https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.